from django.db import models

# Create your models here.

class Link(models.Model):
    url = models.URLField( unique = True )
    
class User(models.Model):
  username = models.CharField(max_length = 32)
  password = models.CharField(max_length = 32)
  job = models.CharField(max_length = 32)
  email = models.EmailField(max_length = 32)
  cardinal_number = models.IntegerField()
  permission= models.CharField(max_length = 8)
  date = models.DateTimeField(auto_now = False, auto_now_add = True)
  
